package cn.dingdan.sercice.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.dingdan.dao.CustomerDao;
import cn.dingdan.pojo.Customer;
import cn.dingdan.sercice.CustomerService;

@Service("customerServiceImpl")
public class CustomerServiceImpl implements CustomerService {
	
	@Resource(name="customerDao")
	private CustomerDao customerDao;

	@Override
	public Customer getCustomer(Customer customer) {
		return customerDao.getCustomer(customer);
	}
	
	
}
